package com.example.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王鹤蒲
 * @since 2024-02-28
 */
@Getter
@Setter
@TableName("sys_chat_record")
@ApiModel(value = "ChatRecord对象", description = "")
public class ChatRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("ID")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("发送人")
      private String sender;

      @ApiModelProperty("发送人头像")
      private String senderAvatar;

      @ApiModelProperty("消息内容")
      private String content;

      @ApiModelProperty("消息类型")
      private String type;

      @ApiModelProperty("发送时间")
      private String time;

      @ApiModelProperty("接收人")
      private String receiver;

      @ApiModelProperty("接收人头像")
      private String receiverAvatar;

      @ApiModelProperty("是否已读")
      private Integer readed;

      @ApiModelProperty("删除标志")
      private String delFlag;


}
